import Vue from 'vue'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import App from './App.vue'
import router from './router'
import ajax from '@/utils/ajax'

Vue.config.productionTip = false
Vue.use(ElementUI)
Vue.prototype.$ajax = ajax // 封装的axios 挂在到全局，通过this.$ajax调用

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
